/* $RCSFile: ModuleConfigurationCustom.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/Configuration/Settings/ModuleConfigurationCustom.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:27  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web.UI;
using AddonNice.Settings;
using AddonNice.Configuration;
using AddonNice.Diagnostics;
using AddonNice.UI.WebControls;

namespace AddonNice.Configuration
{
	/// <summary>
	/// ModuleConfigurationCustom extends the ModuleConfiguration class to allow authenticated users
	/// to 'customize' a module to their own preference.
	/// </summary>
	public class ModuleConfigurationCustom : ModuleConfiguration
	{
		
		#region Data Access Methods used only by PortalModuleControlCustom

		/// <summary>
		/// The UpdateCustomModuleSetting Method updates a single module setting 
		/// for the current user in the adn_ModuleUserSettings database table.
		/// </summary>
		public static void UpdateCustomModuleSetting(int moduleID, Guid userID, string key, string value,int group) 
		{
            new ModulesDB().UpdateUserModuleSetting(moduleID,userID, key,value,group);
		}
		#endregion

	}
}